#ifndef LOADINGFORM_H
#define LOADINGFORM_H

#include <QWidget>

namespace Ui {
class LoadingForm;
}

class LoadingForm : public QWidget
{
    Q_OBJECT
    Q_PROPERTY(QString labelText READ labelText WRITE setLabelText NOTIFY labelTextChanged)

public:
    explicit LoadingForm(QWidget *parent = 0);
    explicit LoadingForm(QString text, QWidget *parent = 0);
    ~LoadingForm();

    Q_INVOKABLE QString labelText() const;
    
signals:
    void labelTextChanged();

public slots:
    void setLabelText(QString text);

private:
    Ui::LoadingForm *ui;
};

#endif // LOADINGFORM_H
